/*
 * @Author: your name
 * @Date: 2021-09-09 14:09:37
 * @LastEditTime: 2021-09-13 16:21:03
 * @LastEditors: LAPTOP-JN5U4VA6
 * @Description: In User Settings Edit
 * @FilePath: \ej-webui\src\store\modules\source.js
 */
import request from '@/utils/request';

// 状态机   export 导出默认对象——状态、计算属性、突变、动作
export default {
  namespaced: true,
  state () {
    return {

    }
  },
  mutations: {

  },
  actions: {
    async findAllSources () {
      let res = await request.get('/category/findAll')
      return res
    }
  }
}